<p id="notice"><%= notice %></p>

  <div class="shadow">
  <fieldset id="agrupacion" >
    <legend>Datos de Solicitud</legend>

     <fieldset class="column-left">
        <label>  Solicitud SOLPRE0<%= @cultural_heritage_pre_register_request.id %></label>

        <p>
         <b>Usuario Creador:</b>
          <%= @cultural_heritage_pre_register_request.str_user %>
        </p>

        <p>
         <b> Fecha de Envio:</b>
          <%= @cultural_heritage_pre_register_request.send_date %>
        </p>
     </fieldset>
<%#*<p>%>
  <%#*<b>Estado:</b>%>
  <%#= @cultural_heritage_pre_register_request.state %>
<%#*</p>%>
    <fieldset class="column-right">
     <p>
      <b> Fecha de Creacion:</b>
      <%= @cultural_heritage_pre_register_request.created_at %>
    </p>


    <p>
      <b>Descripcion:</b>
      <%= @cultural_heritage_pre_register_request.description %>
    </p>


  </fieldset>
 
<br/>

<br/> 
<br/>
<br/>


  <fieldset id="agrupacion" >
    <legend>Pre-Registros de Solicitud</legend>

<!-- Tabla de elementos agregados hasta ahora-->
  <% if @list_pre_registers.length > 0 %>
    <table class="paginated_table sorted_table">
      <thead>
      <tr>
        <br></br>
        <th>Nombre</th>
        <th>Grupo</th>
        <th>Periodo</th>
        <th>Tipologia</th>
        <th>Est conservacion</th>
        <th>Propietario</th>
        <th>Autor</th>
      </tr>
</thead>
      <% @list_pre_registers.each do |pre_register| %>
        <tr>
          <td><%= pre_register.name %></td>
          <td><%= pre_register.str_group %></td>
          <td><%= pre_register.str_period %></td>
          <td><%= pre_register.str_tipology %></td>
          <td><%= pre_register.str_conservationalState %></td>
          <td><%= pre_register.str_owner %></td>
          <td><%= pre_register.str_author %></td>
        </tr>
      <% end %>
    </table>
  <% else %>
    <p>No ha agregado ningun Pre-registro aun</p>
    <br/>
    </fieldset>
  
  <% end %>
  </fieldset>
  </div>
<%= link_to 'Editar', edit_cultural_heritage_pre_register_request_path(@cultural_heritage_pre_register_request) %> |

<%= link_to 'Volver', cultural_heritage_pre_register_requests_path %>
